Class: Amiba::Source::Layout

Inherits:
Object
  • Object
show all
Includes:
Amiba::Source
Defined in:
lib/amiba/source.rb

Instance Method Summary collapse

Methods included from Amiba::Source

included

Instance Method Details

#content=(c) ⇒ Object



139
140
141
# File 'lib/amiba/source.rb', line 139

def content=(c)
  @content ||= self.new? ? c : File.read(filename)
end