Sha256: a41c520ae7bd6158e822a5c30984ed1bfacf6013e09e4674852e8a9d53411a5a
Contents?: true
Size: 376 Bytes
Versions: 9
Compression:
Stored size: 376 Bytes
Contents
module Listings class BaseFieldDescriptor attr_reader :path attr_reader :props attr_reader :proc def initialize(path, props, proc) @path = path @props = props @proc = proc end def build_field(listing) listing.data_source.build_field(path) end def is_field? !path.nil? && !path.is_a?(String) end end end
Version data entries
9 entries across 9 versions & 1 rubygems