Sha256: c0ae562a81f0d8a2e8577c731970e9fd0cf287ca9df941705324e2f585d40809
Contents?: true
Size: 750 Bytes
Versions: 19
Compression:
Stored size: 750 Bytes
Contents
class User < ApplicationRecord has_one :address # --- # below are methods, used for testing EitilWrapper::Jobs def self.this_is_a_singleton_method(positional_value = nil, keyword_value: nil) "this is a singleton method" return positional_value if positional_value return keyword_value if keyword_value return nil end new_job :this_is_a_singleton_method new_job_now :this_is_a_singleton_method def this_is_an_instance_method(positional_value = nil, keyword_value: nil) "this is an instance method" return positional_value if positional_value return keyword_value if keyword_value return nil end new_job :this_is_an_instance_method new_job_now :this_is_an_instance_method # --- end
Version data entries
19 entries across 19 versions & 1 rubygems