Class: Freshmeat::Tag
Instance Attribute Summary
Attributes inherited from Data
Instance Method Summary collapse
-
#initialize(data, projects = Array.[]) ⇒ Tag
constructor
A new instance of Tag.
Methods inherited from Data
Constructor Details
#initialize(data, projects = Array.[]) ⇒ Tag
Returns a new instance of Tag.
41 42 43 44 |
# File 'lib/freshmeat/data.rb', line 41 def initialize(data, projects=Array.[]) @data = data @data["projects"] = projects end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Freshmeat::Data