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.



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

def initialize(port, host, behaviors)
  @host = host
  @port = port
  @behaviors = behaviors
end

Instance Attribute Details

#behaviorsObject (readonly)

Returns the value of attribute behaviors.



63
64
65
# File 'lib/bane/arguments_parser.rb', line 63

def behaviors
  @behaviors
end

#hostObject (readonly)

Returns the value of attribute host.



63
64
65
# File 'lib/bane/arguments_parser.rb', line 63

def host
  @host
end

#portObject (readonly)

Returns the value of attribute port.



63
64
65
# File 'lib/bane/arguments_parser.rb', line 63

def port
  @port
end