Class: Brutalismbot::Base
- Inherits:
-
Object
- Object
- Brutalismbot::Base
- Extended by:
- Parser, Forwardable
- Defined in:
- lib/brutalismbot/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(**item) ⇒ Base
constructor
A new instance of Base.
Methods included from Parser
Constructor Details
#initialize(**item) ⇒ Base
Returns a new instance of Base.
18 19 20 |
# File 'lib/brutalismbot/base.rb', line 18 def initialize(**item) @item = JSON.parse(item.to_json) end |