Class: INat::Report::Period::Day

Inherits:
INat::Report::Period show all
Defined in:
lib/inat/data/sets/wrappers.rb

Instance Attribute Summary

Attributes inherited from INat::Report::Period

#value

Instance Method Summary collapse

Methods inherited from INat::Report::Period

#<=>, [], #initialize

Constructor Details

This class inherits a constructor from INat::Report::Period

Instance Method Details

#query_paramsObject



131
132
133
# File 'lib/inat/data/sets/wrappers.rb', line 131

def query_params
  "day=#{ @value }"
end

#to_sObject



127
128
129
# File 'lib/inat/data/sets/wrappers.rb', line 127

def to_s
  "<i class=\"glyphicon glyphicon-calendar\"></i>  #{ @value }"
end