Class: Object

Inherits:
BasicObject
Defined in:
lib/reactive_record/active_record/reactive_record/isomorphic_base.rb

Instance Method Summary collapse

Instance Method Details

#loaded?Boolean

Returns:

  • (Boolean)


95
96
97
# File 'lib/reactive_record/active_record/reactive_record/isomorphic_base.rb', line 95

def loaded?
  !loading?
end

#loading?Boolean

Returns:

  • (Boolean)


99
100
101
# File 'lib/reactive_record/active_record/reactive_record/isomorphic_base.rb', line 99

def loading?
  false
end

#present?Boolean

Returns:

  • (Boolean)


103
104
105
# File 'lib/reactive_record/active_record/reactive_record/isomorphic_base.rb', line 103

def present?
  !!self
end