Sha256: cdfc179029837622cf5207f9b753f7bba29a9190c597d77453e1fa0a17e385b1

Contents?: true

Size: 664 Bytes

Versions: 2

Compression:

Stored size: 664 Bytes

Contents

module Shomen

  module Model

    require 'shomen/model/document'

    #
    class Script < Document
      #
      def self.type; 'script'; end

      #
      attr_accessor :source

      # Route textto source.
      alias :text  :source
      alias :text= :source=

      #
      attr_accessor :language

      #
      attr_accessor :name

      attr_accessor :path

      attr_accessor :mtime

      attr_accessor :header

      attr_accessor :footer

      attr_accessor :requires

      attr_accessor :constants

      attr_accessor :modules

      attr_accessor :classes

      attr_accessor :class_methods

      attr_accessor :methods

    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

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