Sha256: eb18f68eaefe1f192f08445938edc01ec83de17d8bdf607da39f6683f78a7f3d
Contents?: true
Size: 691 Bytes
Versions: 8
Compression:
Stored size: 691 Bytes
Contents
# -*- coding: utf-8 -*- require 'xot/setter' require 'xot/universal_accessor' require 'xot/block_util' require 'reflex/ext' require 'reflex/helper' module Reflex class Application include Xot::Setter 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
8 entries across 8 versions & 1 rubygems