Class: Datamappify::Entity::Composable::Attribute

Inherits:
Object
  • Object
show all
Defined in:
lib/datamappify/entity/composable/attribute.rb

Class Method Summary collapse

Class Method Details

.prefix(name, prefix) ⇒ void

This method returns an undefined value.

Parameters:

  • name (Virtus::Attribute)
  • prefix (Symbol)


10
11
12
# File 'lib/datamappify/entity/composable/attribute.rb', line 10

def self.prefix(name, prefix)
  :"#{prefix}_#{name}"
end