Sha256: a334a49bb27b9cf59cb77b17ef8b735fccb1554cdd8b130f1aba095e43f3b87d
Contents?: true
Size: 581 Bytes
Versions: 7
Compression:
Stored size: 581 Bytes
Contents
require 'acts_as_span/span_klass/status' require 'active_support/core_ext/module/delegation' module ActsAsSpan class SpanKlass include ActsAsSpan::SpanKlass::Status delegate :start_field, :end_field, :exclude_end, to: :@acts_as_span_definition delegate :table_name, :arel_table, to: :klass, allow_nil: true attr_reader :name, :klass, :acts_as_span_definition def initialize(name, klass, acts_as_span_definition) @name = name @klass = klass @acts_as_span_definition = acts_as_span_definition end end end
Version data entries
7 entries across 7 versions & 1 rubygems