- Defined in:
Class that's just a name. Substitute for symbols, which can overlap with user-code values.
Instance Method Summary (collapse)
- (PlaceholderObject) initialize(name)
A new instance of PlaceholderObject.
- - (Object) inspect (also: #to_s)
- () initialize(name)
Returns a new instance of PlaceholderObject
5 6 7
# File 'lib/laser/support/placeholder_object.rb', line 5 def initialize(name) @name = name end
Instance Method Details
- (Object) inspect Also known as: to_s
8 9 10
# File 'lib/laser/support/placeholder_object.rb', line 8 def inspect @name end