Class: Nokaya::Favd
Instance Attribute Summary
Attributes inherited from Basic
#args, #file_name, #image_url, #options, #path, #type
Instance Method Summary collapse
-
#initialize(args, options = {}) ⇒ Favd
constructor
A new instance of Favd.
Methods inherited from Basic
Constructor Details
#initialize(args, options = {}) ⇒ Favd
Returns a new instance of Favd.
8 9 10 11 12 13 14 15 |
# File 'lib/nokaya/favd.rb', line 8 def initialize args, = {} super(args, ) @type = :favd parsed = self.parse(args[0]) @image_url = [get_favd(parsed)] @author = (parsed) @file_name = [name()] end |