Class: Docks::Parser
Instance Attribute Summary collapse
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#list ⇒ Object
Returns the value of attribute list.
Instance Method Summary collapse
Instance Attribute Details
#filename ⇒ Object
Returns the value of attribute filename.
4 5 6 |
# File 'lib/docks/parser.rb', line 4 def filename @filename end |
#list ⇒ Object
Returns the value of attribute list.
4 5 6 |
# File 'lib/docks/parser.rb', line 4 def list @list end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/docks/parser.rb', line 11 def to_s lines.join("\n") end |