Class: Rubyoverflow::BaseDash
- Inherits:
-
Hashie::Dash
- Object
- Hashie::Dash
- Rubyoverflow::BaseDash
- Defined in:
- lib/rubyoverflow/base.rb
Direct Known Subclasses
AnswerDash, ApiSiteDash, ApiSitesDash, ApiVersion, BadgeCountsDash, BadgeDash, CommentDash, PagedDash, PostTimelineEventDash, QuestionDash, RepChangeDash, RevisionDash, StatisticsDash, StylingDash, TagDash, UserDash, UserTimelineEventDash
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ BaseDash
constructor
A new instance of BaseDash.
Constructor Details
#initialize(hash = {}) ⇒ BaseDash
Returns a new instance of BaseDash.
69 70 71 72 73 74 |
# File 'lib/rubyoverflow/base.rb', line 69 def initialize(hash={}) hash2 = Hash.new hash.each { |key, value| hash2[key.strip] = value } hash = hash2 super(hash) end |