Class: Freshmeat::Tag

Inherits:
Data
  • Object
show all
Defined in:
lib/freshmeat/data.rb

Instance Attribute Summary

Attributes inherited from Data

#data

Instance Method Summary collapse

Methods inherited from Data

#fid, #method_missing

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