Class: Rubydex::Signature::Parameter

Inherits:
Object
  • Object
show all
Defined in:
lib/rubydex/signature.rb,
ext/rubydex/signature.c

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, location) ⇒ Parameter

: (Symbol, Location) -> void



13
14
15
16
# File 'lib/rubydex/signature.rb', line 13

def initialize(name, location)
  @name = name
  @location = location
end

Instance Attribute Details

#locationObject (readonly)

: Location



10
11
12
# File 'lib/rubydex/signature.rb', line 10

def location
  @location
end

#nameObject (readonly)

: Symbol



7
8
9
# File 'lib/rubydex/signature.rb', line 7

def name
  @name
end