Class: Luruju::DtoBetweenCrubyAndJruby
- Inherits:
-
Object
- Object
- Luruju::DtoBetweenCrubyAndJruby
- Defined in:
- lib/luruju/dto.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
Returns the value of attribute exception.
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#model ⇒ Object
Returns the value of attribute model.
Instance Method Summary collapse
-
#initialize(model, exception = nil) ⇒ DtoBetweenCrubyAndJruby
constructor
A new instance of DtoBetweenCrubyAndJruby.
Constructor Details
#initialize(model, exception = nil) ⇒ DtoBetweenCrubyAndJruby
Returns a new instance of DtoBetweenCrubyAndJruby.
4 5 6 |
# File 'lib/luruju/dto.rb', line 4 def initialize(model, exception=nil) @meta, @model, @exception = JudeMeta.instance, model, exception end |
Instance Attribute Details
#exception ⇒ Object
Returns the value of attribute exception.
3 4 5 |
# File 'lib/luruju/dto.rb', line 3 def exception @exception end |
#meta ⇒ Object
Returns the value of attribute meta.
3 4 5 |
# File 'lib/luruju/dto.rb', line 3 def @meta end |
#model ⇒ Object
Returns the value of attribute model.
3 4 5 |
# File 'lib/luruju/dto.rb', line 3 def model @model end |