Sha256: 6ce02da69d7bad92885b2963c25a666923476466b56bf47504a0c8cb9da10f68
Contents?: true
Size: 717 Bytes
Versions: 27
Compression:
Stored size: 717 Bytes
Contents
require 'xot/setter' require 'xot/universal_accessor' require 'xot/block_util' require 'xot/inspectable' require 'reflex/ext' require 'reflex/helper' module Reflex class Application include Xot::Setter include Xot::Inspectable include Hookable universal_accessor :name def initialize(options = nil, &block) super() set options if options @start_block = block if block end def self.start(*args, &block) new(*args, &block).start end private def call_start_block() return unless @start_block Xot::BlockUtil.instance_eval_or_block_call self, &@start_block @start_block = nil end end# Application end# Reflex
Version data entries
27 entries across 27 versions & 1 rubygems