Module: Ground
- Extended by:
- Protocol::Helper, Protocol::Verb
- Defined in:
- lib/ground.rb,
lib/ground/activity.rb,
lib/ground/mime_type.rb,
lib/ground/activity/log.rb,
lib/ground/activity/ridge.rb,
lib/ground/activity/state.rb,
lib/ground/rack/base_rack.rb,
lib/ground/activity/locate.rb,
lib/ground/rack/url_suffix.rb,
lib/ground/activity/validate.rb,
lib/ground/activity/create_application.rb
Defined Under Namespace
Modules: Protocol Classes: BaseRack, CreateApplication, Locate, Log, Ridge, State, UrlSuffix, Validate
Constant Summary collapse
- MetaG =
self- Activity =
::Dun::Activity
- MimeType =
{ "*/*" => :all, "text/plain" => :text, "text/html" => :html, "application/xhtml+xml" => :html, "text/javascript" => :js, "application/javascript" => :js, "application/x-javascript" => :js, "text/calendar" => :ics, "text/csv" => :csv, "application/xml" => :xml, "text/xml" => :xml, "application/x-xml" => :xml, "text/yaml" => :yaml, "application/x-yaml" => :yaml, "application/rss+xml" => :rss, "application/atom+xml" => :atom, "application/json" => :json, "text/x-json" => :json, "text/markdown" => :md }
Constants included from Protocol::Helper
Class Method Summary collapse
Methods included from Protocol::Verb
Methods included from Protocol::Helper
Class Method Details
.set(attr, value) ⇒ Object
29 30 31 32 |
# File 'lib/ground.rb', line 29 def set(attr, value) MetaG.class_eval { attr_reader attr } instance_variable_set "@#{attr}", value end |