Class: FMCache::Field

Inherits:
Object
  • Object
show all
Defined in:
lib/fmcache/field.rb

Class Method Summary collapse

Class Method Details

.to_s(prefix:, attr:) ⇒ String

Parameters:

  • prefix (<Symbol>)
  • attr (Symbol)

Returns:

  • (String)


7
8
9
10
# File 'lib/fmcache/field.rb', line 7

def to_s(prefix:, attr:)
  l = prefix + [attr]
  l.join(".")
end