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