Class: Class
Instance Method Summary collapse
-
#fjson_creatable? ⇒ Boolean
Returns true, if this class can be used to create an instance from a serialised FiverunsJSON string.
Instance Method Details
#fjson_creatable? ⇒ Boolean
Returns true, if this class can be used to create an instance from a serialised FiverunsJSON string. The class has to implement a class method json_create that expects a hash as first parameter, which includes the required data.
349 350 351 |
# File 'lib/fiveruns/json/common.rb', line 349 def fjson_creatable? respond_to?(:fjson_create) end |