Class: CommandBuilder::CommandBase
- Inherits:
-
Object
- Object
- CommandBuilder::CommandBase
- Defined in:
- lib/command_builder_generator/lib/command_base.rb
Instance Attribute Summary collapse
-
#passwords ⇒ Object
readonly
Returns the value of attribute passwords.
Instance Method Summary collapse
-
#initialize ⇒ CommandBase
constructor
A new instance of CommandBase.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ CommandBase
Returns a new instance of CommandBase.
8 9 10 11 12 13 |
# File 'lib/command_builder_generator/lib/command_base.rb', line 8 def initialize puts 'aaaa' @s = StringIO.new @f = ArgumentFormatter.new @passwords = [] end |
Instance Attribute Details
#passwords ⇒ Object (readonly)
Returns the value of attribute passwords.
6 7 8 |
# File 'lib/command_builder_generator/lib/command_base.rb', line 6 def passwords @passwords end |
Instance Method Details
#to_s ⇒ Object
15 16 17 |
# File 'lib/command_builder_generator/lib/command_base.rb', line 15 def to_s @s.string end |