Class: Hermeneutics::Cgi::Data::Plain

Inherits:
Object
  • Object
show all
Defined in:
lib/hermeneutics/cgi.rb

Direct Known Subclasses

Json, Lines, Multiparted, UrlEnc, Yaml

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Plain

Returns a new instance of Plain.



184
185
186
# File 'lib/hermeneutics/cgi.rb', line 184

def initialize data
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



183
184
185
# File 'lib/hermeneutics/cgi.rb', line 183

def data
  @data
end