Method: EacTemplates::Sources::Single.assert
- Defined in:
- lib/eac_templates/sources/single.rb
.assert(object) ⇒ EacTemplates::Sources::Single
11 12 13 14 15 |
# File 'lib/eac_templates/sources/single.rb', line 11 def assert(object) return object if object.is_a?(self) new(object.to_pathname) end |