Archived
1
0
Fork 0

Remove unnecessary access modifiers

This commit is contained in:
Braiden Vasco 2017-07-31 02:07:45 +00:00
parent 637731fba3
commit 5961d0cd2d
5 changed files with 0 additions and 10 deletions

View file

@ -10,8 +10,6 @@ module Widgets
node.draw
end
private
def node
elem = render
React::Curses::Nodes.klass_for(elem).new nil, elem

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -26,8 +26,6 @@ module Widgets
end
end
private
def total
props[:width] - 1
end