Sha256: 15d9df08dcee4d39a804e5a35e72fa901a3350668544a4c95ed1427e43d5d974
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
module Elastic::Nodes class BaseAgg < Base attr_reader :name def self.build(_name) new.tap { |n| n.name = _name } end def initialize @name = 'default' end def name=(_value) @name = _value.to_s end def clone copy_name super end def simplify copy_name super end private def copy_name(_clone) _clone.name = @name _clone end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
elastic-rails-0.5.0 | lib/elastic/nodes/base_agg.rb |