Class: QuotedObj

Inherits:
Object show all
Defined in:
lib/ytljit/matcher.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ QuotedObj

Returns a new instance of QuotedObj.



54
55
56
# File 'lib/ytljit/matcher.rb', line 54

def initialize(obj)
  @obj = obj
end

Instance Attribute Details

#objObject (readonly)

Returns the value of attribute obj.



58
59
60
# File 'lib/ytljit/matcher.rb', line 58

def obj
  @obj
end

Class Method Details

.quote(obj) ⇒ Object



50
51
52
# File 'lib/ytljit/matcher.rb', line 50

def self.quote(obj)
  self.new(obj)
end