Class: RBelly::BELLEJS::Class
- Inherits:
-
Base
- Object
- Base
- RBelly::BELLEJS::Class
- Defined in:
- lib/rbelly/bellejs/class.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(body = nil) ⇒ Class
constructor
A new instance of Class.
Constructor Details
#initialize(body = nil) ⇒ Class
Returns a new instance of Class.
19 20 21 22 23 |
# File 'lib/rbelly/bellejs/class.rb', line 19 def initialize(body = nil) super() @body = body self['toString'] = :undefined end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
18 19 20 |
# File 'lib/rbelly/bellejs/class.rb', line 18 def body @body end |