Class: Law::Japan::EGov::Converter
- Inherits:
-
Object
- Object
- Law::Japan::EGov::Converter
- Defined in:
- lib/law/japan/e_gov/converter.rb
Instance Attribute Summary collapse
-
#html_dir ⇒ Object
readonly
Returns the value of attribute html_dir.
-
#text_dir ⇒ Object
readonly
Returns the value of attribute text_dir.
Instance Method Summary collapse
- #convert! ⇒ Object
-
#initialize(html_dir, text_dir) ⇒ Converter
constructor
A new instance of Converter.
Constructor Details
#initialize(html_dir, text_dir) ⇒ Converter
Returns a new instance of Converter.
9 10 11 12 |
# File 'lib/law/japan/e_gov/converter.rb', line 9 def initialize(html_dir, text_dir) @html_dir = html_dir @text_dir = text_dir end |
Instance Attribute Details
#html_dir ⇒ Object (readonly)
Returns the value of attribute html_dir.
7 8 9 |
# File 'lib/law/japan/e_gov/converter.rb', line 7 def html_dir @html_dir end |
#text_dir ⇒ Object (readonly)
Returns the value of attribute text_dir.
7 8 9 |
# File 'lib/law/japan/e_gov/converter.rb', line 7 def text_dir @text_dir end |
Instance Method Details
#convert! ⇒ Object
14 15 16 17 18 |
# File 'lib/law/japan/e_gov/converter.rb', line 14 def convert! logger.info "Start converting all laws" convert logger.info "Finish converting all laws" end |