Module: Looksist::Common
Instance Method Summary collapse
-
#__entity__(entity) ⇒ Object
Careful with the method names, these become instance variables!!.
Instance Method Details
#__entity__(entity) ⇒ Object
Careful with the method names, these become instance variables!!
4 5 6 |
# File 'lib/looksist/common.rb', line 4 def __entity__(entity) entity.to_s.gsub('_id', '') end |