Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/eac_fs/patches/object/fs_cache.rb
Instance Method Summary collapse
Instance Method Details
#fs_object_id ⇒ String+
20 21 22 |
# File 'lib/eac_fs/patches/object/fs_cache.rb', line 20 def fs_object_id raise 'Abstract method hit' end |
#fs_object_id_by_type(type) ⇒ Object
24 25 26 27 |
# File 'lib/eac_fs/patches/object/fs_cache.rb', line 24 def fs_object_id_by_type(type) method = "fs_#{type}_object_id" respond_to?(method) ? send(method) : fs_object_id end |