Class: QuotedObj
Instance Attribute Summary collapse
-
#obj ⇒ Object
readonly
Returns the value of attribute obj.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(obj) ⇒ QuotedObj
constructor
A new instance of QuotedObj.
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
#obj ⇒ Object (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 |