Class: Risp::Splat

Inherits:
Struct
  • Object
show all
Defined in:
lib/risp.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



17
18
19
# File 'lib/risp.rb', line 17

def name
  @name
end

Instance Method Details

#inspectObject



18
19
20
# File 'lib/risp.rb', line 18

def inspect
  "&#{name.to_s}"
end