Class: IMGSrc::Category

Inherits:
Struct
  • Object
show all
Defined in:
lib/imgsrc.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



36
37
38
# File 'lib/imgsrc.rb', line 36

def name
  @name
end

#parent_idObject

Returns the value of attribute parent_id

Returns:

  • (Object)

    the current value of parent_id



36
37
38
# File 'lib/imgsrc.rb', line 36

def parent_id
  @parent_id
end