Sha256: 6b0aeeab5b9ff6a389151c7280ef96f81664853c5355a04bc3af0dac660b6826
Contents?: true
Size: 370 Bytes
Versions: 2
Compression:
Stored size: 370 Bytes
Contents
module Danica class Function include VariablesHolder include DSL include Expressable autoload :Name, 'danica/function/name' attr_accessor :name built_with(:function_block) def name Name.new(name: @name, variables: containers) end def to(*args) "#{name.to(*args)} = #{function_block.to(*args)}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
danica-2.6.2 | lib/danica/function.rb |
danica-2.6.1 | lib/danica/function.rb |