Sha256: 558295d557c323781eb4a5862f76dd7cb1a2208cc032a64ef2176524fe527a14

Contents?: true

Size: 428 Bytes

Versions: 205

Compression:

Stored size: 428 Bytes

Contents

module Origen
  module Parameters
    require 'delegate'
    class Live < ::Delegator
      def initialize(options)
        @owner = options[:owner]
        @path = options[:path].split('.')
        @name = options[:name]
      end

      def __getobj__
        p = @owner.params
        @path.each { |pt| p = p.send(pt) }
        p.send(@name)
      end

      def is_a_live_parameter?
        true
      end
    end
  end
end

Version data entries

205 entries across 205 versions & 1 rubygems

Version Path
origen-0.60.17 lib/origen/parameters/live.rb
origen-0.60.16 lib/origen/parameters/live.rb
origen-0.60.14 lib/origen/parameters/live.rb
origen-0.60.13 lib/origen/parameters/live.rb
origen-0.60.12 lib/origen/parameters/live.rb
origen-0.60.11 lib/origen/parameters/live.rb
origen-0.60.10 lib/origen/parameters/live.rb
origen-0.60.9 lib/origen/parameters/live.rb
origen-0.60.8 lib/origen/parameters/live.rb
origen-0.60.7 lib/origen/parameters/live.rb
origen-0.60.6 lib/origen/parameters/live.rb
origen-0.60.5 lib/origen/parameters/live.rb
origen-0.60.4 lib/origen/parameters/live.rb
origen-0.60.3 lib/origen/parameters/live.rb
origen-0.60.2 lib/origen/parameters/live.rb
origen-0.60.1 lib/origen/parameters/live.rb
origen-0.60.0 lib/origen/parameters/live.rb
origen-0.59.8 lib/origen/parameters/live.rb
origen-0.59.7 lib/origen/parameters/live.rb
origen-0.59.6 lib/origen/parameters/live.rb