class Rvm2::Ui::Output::Fake::StringElements
Public Class Methods
new(parent, type)
click to toggle source
Calls superclass method
# File lib/plugins/rvm2/ui/output/fake.rb, line 20 def initialize(parent, type) @parent = parent @type = type super("","w") end
Public Instance Methods
write(string)
click to toggle source
# File lib/plugins/rvm2/ui/output/fake.rb, line 25 def write(string) @parent.current.list << Element.new(string, @type) end