Sha256: d9a499b2446112d9168da3dbd479eba3c841d3aeaf70765f44b0ab2ca36f2ae6
Contents?: true
Size: 737 Bytes
Versions: 4
Compression:
Stored size: 737 Bytes
Contents
# frozen_string_literal: true require 'agave/dump/dsl/create_post' require 'agave/dump/dsl/create_data_file' require 'agave/dump/dsl/add_to_data_file' module Agave module Dump module Dsl class Directory include Dsl::CreateDataFile include Dsl::CreatePost include Dsl::AddToDataFile attr_reader :agave, :operations def initialize(agave, operations, &block) @agave = agave @operations = operations @self_before_instance_eval = eval 'self', block.binding instance_eval(&block) end def method_missing(method, *args, &block) @self_before_instance_eval.send method, *args, &block end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems