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+
17 18 19 |
# File 'lib/eac_fs/patches/object/fs_cache.rb', line 17 def fs_object_id raise 'Abstract method hit' end |
#fs_object_id_by_type(type) ⇒ Object
21 22 23 24 |
# File 'lib/eac_fs/patches/object/fs_cache.rb', line 21 def fs_object_id_by_type(type) method = "fs_#{type}_object_id" respond_to?(method) ? send(method) : fs_object_id end |