Sha256: b0837b3fba46d47131dd7aadadaebbb2e16829e3516a1a86e8fa84bb6906f7a4

Contents?: true

Size: 619 Bytes

Versions: 2

Compression:

Stored size: 619 Bytes

Contents

module Shomen

  module Model

    require 'shomen/model/abstract'

    #
    class Interface < AbstractPrime

      # TODO: validate that there is an interface image.
      def initialize(settings={})
        #@table = {'arguments'=>[], 'parameters'=>[]}
        super(settings)
      end

      # The source code "image" of the method's inteface.
      attr_accessor :signature

      # Arguments breakdown.
      attr_accessor :arguments

      # Parameters breakdown.
      attr_accessor :parameters

      # Block
      attr_accessor :block

      # Return value.
      attr_accessor :returns

    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shomen-0.1.1 lib/shomen/model/interface.rb
shomen-0.1.0 lib/shomen/model/interface.rb