Module: Triplet

Defined in:
lib/triplet.rb,
lib/triplet/dsl.rb,
lib/triplet/version.rb,
lib/triplet/template.rb,
lib/triplet/view_component.rb,
lib/triplet/rails_compatibility.rb

Defined Under Namespace

Modules: DSL, RailsCompatibility, ViewComponent Classes: Error, Template

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.template(&block) ⇒ Object



12
13
14
# File 'lib/triplet.rb', line 12

def self.template(&block)
  Template.new(&block).to_s
end