Class: Bane::ParsedArguments
- Inherits:
-
Object
- Object
- Bane::ParsedArguments
- Defined in:
- lib/bane/arguments_parser.rb
Instance Attribute Summary collapse
-
#behaviors ⇒ Object
readonly
Returns the value of attribute behaviors.
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#port ⇒ Object
readonly
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize(port, host, behaviors) ⇒ ParsedArguments
constructor
A new instance of ParsedArguments.
Constructor Details
#initialize(port, host, behaviors) ⇒ ParsedArguments
Returns a new instance of ParsedArguments.
67 68 69 70 71 |
# File 'lib/bane/arguments_parser.rb', line 67 def initialize(port, host, behaviors) @host = host @port = port @behaviors = behaviors end |
Instance Attribute Details
#behaviors ⇒ Object (readonly)
Returns the value of attribute behaviors.
65 66 67 |
# File 'lib/bane/arguments_parser.rb', line 65 def behaviors @behaviors end |
#host ⇒ Object (readonly)
Returns the value of attribute host.
65 66 67 |
# File 'lib/bane/arguments_parser.rb', line 65 def host @host end |
#port ⇒ Object (readonly)
Returns the value of attribute port.
65 66 67 |
# File 'lib/bane/arguments_parser.rb', line 65 def port @port end |