Sha256: 055894eb3a0718e2ed6fab4e6c0437ca9ab4d1c566acef4840edaeeb67d5e188

Contents?: true

Size: 486 Bytes

Versions: 18

Compression:

Stored size: 486 Bytes

Contents

#coding=utf-8

module Aio::Module
	class SpecialStyle
		class MethodError < StandardError; end

		attr_accessor :special_info

		def initialize(info={})
			@special_info = info.dup
			set_defaults()
		end

		def set_defaults
			self.special_info = {
				:author 		=> nil,
				:description => nil,
				:license			=> ::Aio::AIO_LICENSE,
			}.update(@special_info)
		end

		def type
			Aio::Module::SpecialStyle
		end

		def parse
			raise MethodError, "请重载此方法"
		end
	end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
aio_elin-1.1.8 lib/aio/core/module/special_style.rb
aio_elin-1.1.7 lib/aio/core/module/special_style.rb
aio_elin-1.1.4 lib/aio/core/module/special_style.rb
aio_elin-1.1.3 lib/aio/core/module/special_style.rb
aio_elin-1.1.2 lib/aio/core/module/special_style.rb
aio_elin-1.1.1 lib/aio/core/module/special_style.rb
aio_elin-1.1.0 lib/aio/core/module/special_style.rb
aio_elin-1.0.9 lib/aio/core/module/special_style.rb
aio_elin-1.0.8 lib/aio/core/module/special_style.rb
aio_elin-1.0.7 lib/aio/core/module/special_style.rb
aio_elin-1.0.6 lib/aio/core/module/special_style.rb
aio_elin-1.0.5 lib/aio/core/module/special_style.rb
aio_elin-1.0.4 lib/aio/core/module/special_style.rb
aio_elin-1.0.3 lib/aio/core/module/special_style.rb
aio_elin-1.0.2 lib/aio/core/module/special_style.rb
aio_elin-1.0.1 lib/aio/core/module/special_style.rb
aio_elin-1.0.0 lib/aio/core/module/special_style.rb
aio_elin-0.0.1 lib/aio/core/module/special_style.rb