Class: RailsAssist::TemplateLanguage::Slim
- Defined in:
- lib/rails_artifactor/template_language/slim.rb
Instance Method Summary collapse
- #insert_ruby_block(statement, options = {}, &block) ⇒ Object
- #insert_ruby_statement(statement, options = {}) ⇒ Object
- #insert_tag(tag, css, options = {}, &block) ⇒ Object
Instance Method Details
#insert_ruby_block(statement, options = {}, &block) ⇒ Object
8 9 |
# File 'lib/rails_artifactor/template_language/slim.rb', line 8 def insert_ruby_block statement, = {}, &block end |
#insert_ruby_statement(statement, options = {}) ⇒ Object
4 5 6 |
# File 'lib/rails_artifactor/template_language/slim.rb', line 4 def insert_ruby_statement statement, = {} "\n= #{statement}" end |
#insert_tag(tag, css, options = {}, &block) ⇒ Object
11 12 |
# File 'lib/rails_artifactor/template_language/slim.rb', line 11 def insert_tag tag, css, = {}, &block end |