Displaying 4 results from an estimated 4 matches for "class_file".
Did you mean:
class_files
2007 Jun 25
0
[1068] trunk/wxruby2/lib/wx.rb: Ensure evthandler.rb is loaded before other classes which might modify
...n><span class="cx"> # Load in all the class extension methods written in ruby
</span><ins>+# evthandler must be required first b/c it sets up methods modified elsewhere
+require ''wx/classes/evthandler.rb''
</ins><span class="cx"> class_files = File.join( File.dirname(__FILE__), ''wx'', ''classes'', ''*.rb'')
</span><span class="cx"> Dir.glob(class_files) do | class_file |
</span><span class="cx"> require ''wx/classes/'' + cla...
2006 Oct 22
0
[704] trunk/wxruby2/lib: Auto-load classes from lib/wx/classes; implement Window#paint in Ruby
...amp;nbsp              raise
-        end
</del><ins>+# Load in all the class extension methods written in ruby
+class_files = File.join( File.dirname(__FILE__), ''wx'', ''classes'', ''*.rb'')
+Dir.glob(class_files) do | class_file |
+ require ''wx/classes/'' + class_file[/\w+\.rb$/]
</ins><span class="cx"> end
</span></span...
2007 May 04
0
[1003] trunk/wxruby2: Create correct WXWIDGETS_VERSION string constant instead of hardcoding
...ION,
+ Wx::WXWIDGETS_RELEASE_NUMBER ]
</ins><span class="cx">
</span><ins>+
</ins><span class="cx"> # Load in all the class extension methods written in ruby
</span><span class="cx"> class_files = File.join( File.dirname(__FILE__), ''wx'', ''classes'', ''*.rb'')
</span><span class="cx"> Dir.glob(class_files) do | class_file |
</span></span></pre></div>
<a id="trunkwxruby2rakerakewxrb&quo...
2007 Dec 28
3
more problems with 1.9.2
The files:
wx/accessors.rb
wx/keyword_ctors.rb
wx/keyword_defs.rb
do not exist in the tarball:
% pwd
/home/rwa/Distributions/test/wxruby-1.9.2
% find . -name accessors.rb
%
but are required in wx.rb:
% tail wx.rb
Dir.glob(class_files) do | class_file |
require ''wx/classes/'' + class_file[/\w+\.rb$/]
end
# Load in syntax sweetner
require ''wx/accessors''
require ''wx/keyword_ctors''
require ''wx/keyword_defs''
These files do appear in the svn sources. If I co...