Class: Pakyow::UI::Recordable::Attribute Private
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Pakyow::UI::Recordable::Attribute
- Includes:
- Helpers::ClientRemapping
- Defined in:
- lib/pakyow/ui/recordable/attribute.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#initialize(attribute) ⇒ Attribute
constructor
private
A new instance of Attribute.
-
#pp(*args) ⇒ Object
private
Fixes an issue using pp inside a delegator.
- #to_json ⇒ Object private
Methods included from Helpers::ClientRemapping
Constructor Details
#initialize(attribute) ⇒ Attribute
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Attribute.
15 16 17 18 |
# File 'lib/pakyow/ui/recordable/attribute.rb', line 15 def initialize(attribute) __setobj__(attribute) @calls = [] end |
Instance Method Details
#pp(*args) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Fixes an issue using pp inside a delegator.
34 35 36 |
# File 'lib/pakyow/ui/recordable/attribute.rb', line 34 def pp(*args) Kernel.pp(*args) end |
#to_json ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
28 29 30 |
# File 'lib/pakyow/ui/recordable/attribute.rb', line 28 def to_json(*) @calls.to_json end |