Class: RugularIndexHtml
- Inherits:
-
Object
- Object
- RugularIndexHtml
- Defined in:
- lib/rugular/tasks/server/guards/rugular_index_html.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ RugularIndexHtml
constructor
A new instance of RugularIndexHtml.
- #update_javascript_script_tags ⇒ Object
Constructor Details
#initialize ⇒ RugularIndexHtml
Returns a new instance of RugularIndexHtml.
9 |
# File 'lib/rugular/tasks/server/guards/rugular_index_html.rb', line 9 def initialize; end |
Class Method Details
.update_javascript_script_tags ⇒ Object
5 6 7 |
# File 'lib/rugular/tasks/server/guards/rugular_index_html.rb', line 5 def self. new. end |
Instance Method Details
#update_javascript_script_tags ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/rugular/tasks/server/guards/rugular_index_html.rb', line 11 def add_javascript_files File.open('.tmp/index.html', 'w') { |file| file.write application_html } end |