Class: OutPut::View
- Inherits:
-
Hash
- Object
- Hash
- OutPut::View
- Defined in:
- lib/out_put/view.rb
Instance Method Summary collapse
-
#initialize(code, msg) ⇒ View
constructor
A new instance of View.
Constructor Details
#initialize(code, msg) ⇒ View
Returns a new instance of View.
5 6 7 |
# File 'lib/out_put/view.rb', line 5 def initialize(code, msg) self.merge!(code: code, msg: msg) end |