File: environment/context/value/initial.rb

Overview
Module Structure
Class Hierarchy
Code

Overview

Module Structure

  module: <Toplevel Module>
  module: Umu#6
  module: Environment#8
  module: Context#10
  module: Value#12
has properties
constant: INITIAL #26
function: make_initial #31
  class: Initial#14
inherits from
  Abstract ( Umu::Environment::Context::Value )
has properties
method: __extend__ / 2 #18

Class Hierarchy

Code

   1  # coding: utf-8
   2  # frozen_string_literal: true
   3 
   4 
   5 
   6  module Umu
   7 
   8  module Environment
   9 
  10  module Context
  11 
  12  module Value
  13 
  14  class Initial < Abstract
  15 
  16  private
  17 
  18      def __extend__(sym, target)
  19          ASSERT.kind_of sym,     ::Symbol
  20          ASSERT.kind_of target,  Target::Abstract
  21 
  22          [{sym => target}, self]
  23      end
  24  end
  25 
  26  INITIAL = Initial.new.freeze
  27 
  28 
  29  module_function
  30 
  31      def make_initial
  32          INITIAL
  33      end
  34 
  35  end # Umu::Environment::Context::Value
  36 
  37  end # Umu::Environment::Context
  38 
  39  end # Umu::Environment
  40 
  41  end # Umu