Method: Archive::Pecan::Attribute#to_s

Defined in:
lib/archive/pecan/attribute.rb

#to_sString

String representation of this object just as it is represented in an attribute file.

Returns:

  • (String)

    Object as represented in an attribute file.



49
50
51
# File 'lib/archive/pecan/attribute.rb', line 49

def to_s
  "#{@name}\t#{value}\n"
end