Class: Class
- Inherits:
-
Object
- Object
- Class
- Defined in:
- lib/octocatalog-diff/external/pson/common.rb
Instance Method Summary collapse
-
#pson_creatable? ⇒ Boolean
Returns true, if this class can be used to create an instance from a serialised PSON string.
Instance Method Details
#pson_creatable? ⇒ Boolean
Returns true, if this class can be used to create an instance from a serialised PSON string. The class has to implement a class method pson_create that expects a hash as first parameter, which includes the required data.
367 368 369 |
# File 'lib/octocatalog-diff/external/pson/common.rb', line 367 def pson_creatable? respond_to?(:pson_create) end |