Module: Ccp::Data::Pathable

Defined in:
lib/ccp/data.rb

Instance Method Summary collapse

Instance Method Details

#path(key) ⇒ Object



8
9
10
# File 'lib/ccp/data.rb', line 8

def path(key)
  self[key].must.coerced(Pathname, String=>proc{|i| Pathname(i)})
end