Class: Bane::ParsedArguments

Inherits:
Object
  • Object
show all
Defined in:
lib/bane/arguments_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#behaviorsObject (readonly)

Returns the value of attribute behaviors.



65
66
67
# File 'lib/bane/arguments_parser.rb', line 65

def behaviors
  @behaviors
end

#hostObject (readonly)

Returns the value of attribute host.



65
66
67
# File 'lib/bane/arguments_parser.rb', line 65

def host
  @host
end

#portObject (readonly)

Returns the value of attribute port.



65
66
67
# File 'lib/bane/arguments_parser.rb', line 65

def port
  @port
end