class Dhallish::BuiltinFunction
To be used as Dhallish::Value.val for ruby-defined functions
Attributes
block[RW]
Public Class Methods
new(&block)
click to toggle source
# File lib/types.rb, line 361 def initialize(&block) @block = block end
Public Instance Methods
call(arg)
click to toggle source
# File lib/types.rb, line 365 def call(arg) @block.call arg end