Remove unnecessary access modifiers
This commit is contained in:
parent
637731fba3
commit
5961d0cd2d
5 changed files with 0 additions and 10 deletions
|
@ -10,8 +10,6 @@ module Widgets
|
|||
node.draw
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def node
|
||||
elem = render
|
||||
React::Curses::Nodes.klass_for(elem).new nil, elem
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
module Widgets
|
||||
class Chat < VPanel
|
||||
class History < React::Component
|
||||
private
|
||||
|
||||
def render
|
||||
create_element :window, x: props[:x], y: props[:y], width: props[:width], height: props[:height] do
|
||||
create_element :lines do
|
||||
|
|
|
@ -5,8 +5,6 @@ module Widgets
|
|||
class Info < React::Component
|
||||
PUBLIC_KEY_LABEL = 'Public key: '
|
||||
|
||||
private
|
||||
|
||||
def render
|
||||
create_element :window, x: props[:x], y: props[:y], width: props[:width], height: props[:height] do
|
||||
create_element :lines do
|
||||
|
|
|
@ -21,8 +21,6 @@ module Widgets
|
|||
React::Curses::Nodes.klass_for(elem).new(nil, elem).draw
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def render
|
||||
create_element :window, x: props[:x], y: props[:y], width: props[:width], height: props[:height] do
|
||||
create_element :lines do
|
||||
|
|
|
@ -26,8 +26,6 @@ module Widgets
|
|||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def total
|
||||
props[:width] - 1
|
||||
end
|
||||
|
|
Reference in a new issue