Class: Enumark::Category
- Inherits:
-
Object
- Object
- Enumark::Category
- Defined in:
- lib/enumark/category.rb
Constant Summary collapse
- START =
/^\s.*<DT><H3/
- ENDIND =
/^\s.*<\/DL><p>/
- PATTERN =
/ADD_DATE="(.*?)".*LAST_MODIFIED="(.*?)".*>(.*)<\/H3/
Instance Attribute Summary collapse
-
#name ⇒ Object
(also: #inspect, #to_s)
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(line) ⇒ Category
constructor
A new instance of Category.
Constructor Details
Instance Attribute Details
#name ⇒ Object (readonly) Also known as: inspect, to_s
Returns the value of attribute name.
10 11 12 |
# File 'lib/enumark/category.rb', line 10 def name @name end |