Sha256: 5433a6d861d73fe84d552011ea9f1af839f9e8ff06013823f740d4fd09139947
Contents?: true
Size: 497 Bytes
Versions: 20
Compression:
Stored size: 497 Bytes
Contents
module Liquidscript module Scanner class Base module DSL module ClassMethods def define builder.instance_exec(&Proc.new) contexts.merge builder.contexts self.default = builder.default_context builder.reset! end def builder @_builder ||= Builder.new end end def self.included(base) base.extend ClassMethods end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems