Class: Risp::Method

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



11
12
13
# File 'lib/risp.rb', line 11

def name
  @name
end

Instance Method Details

#inspectObject



12
13
14
# File 'lib/risp.rb', line 12

def inspect
  name.to_s
end