Class: MightyJSON::Type::Eval
- Inherits:
-
Object
- Object
- MightyJSON::Type::Eval
- Defined in:
- lib/mighty_json/type.rb
Instance Method Summary collapse
-
#initialize(code) ⇒ Eval
constructor
A new instance of Eval.
- #inspect ⇒ Object
Constructor Details
#initialize(code) ⇒ Eval
Returns a new instance of Eval.
8 9 10 |
# File 'lib/mighty_json/type.rb', line 8 def initialize(code) @code = code end |
Instance Method Details
#inspect ⇒ Object
12 13 14 |
# File 'lib/mighty_json/type.rb', line 12 def inspect @code end |