[MacRuby-devel] constants again

Joel Reymont joelr1 at gmail.com
Tue Jan 11 12:03:31 PST 2011


What should be the constant name below?

Is there a way to find out the constants defined in a framework?

	Thanks, Joel

---

grep -i ro_MGSFOTextView build/Release/MGSFragaria.framework/Resources/BridgeMetadata/MGSFragaria.bridgemetadata 
<constant name='ro_MGSFOTextView' type='@'/>

irb(main):001:0> framework './build/Release/MGSFragaria.framework'
=> true

irb(main):002:0> ro_MGSFOTextView
NameError: undefined local variable or method `ro_MGSFOTextView' for main:TopLevel
	
irb(main):003:0> Ro_MGSFOTextView
NameError: uninitialized constant Ro_MGSFOTextView
	
irb(main):004:0> RO_MGSFOTextView
NameError: uninitialized constant RO_MGSFOTextView


---
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont







More information about the MacRuby-devel mailing list