Class: Concordion::StringWriter
- Inherits:
-
Object
- Object
- Concordion::StringWriter
- Defined in:
- lib/concordion/string_writer.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
3 4 5 |
# File 'lib/concordion/string_writer.rb', line 3 def data @data end |
Instance Method Details
#calculate_filename_and_overwrite(data, filename) ⇒ Object
4 5 6 7 |
# File 'lib/concordion/string_writer.rb', line 4 def calculate_filename_and_overwrite(data, filename) @data = data.to_s filename end |
#output_file_exists?(filename) ⇒ Boolean
9 10 11 |
# File 'lib/concordion/string_writer.rb', line 9 def output_file_exists?(filename) true end |