mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
927615e1f0
- Added to `mruby-binding-core` - `Binding#local_variable_defined?` - `Binding#local_variable_get` - `Binding#local_variable_set` - `Binding#local_variables` - `Binding#receiver` - `Binding#source_location` - `Binding#inspect` - Added to `mruby-proc-binding` - `Proc#binding` The reason for separating `Proc#binding` is that core-mrbgems has a method that returns a closure object to minimize possible problems with being able to manipulate internal variables. By separating it as different mrbgem, each user can judge this problem and incorporate it arbitrarily.
12 lines
500 B
Ruby
12 lines
500 B
Ruby
MRuby::Gem::Specification.new('mruby-binding') do |spec|
|
|
spec.license = 'MIT'
|
|
spec.author = 'mruby developers'
|
|
spec.summary = 'Binding class'
|
|
|
|
spec.add_dependency('mruby-binding-core', :core => 'mruby-binding-core')
|
|
spec.add_dependency('mruby-eval', :core => 'mruby-eval')
|
|
spec.add_test_dependency('mruby-metaprog', :core => 'mruby-metaprog')
|
|
spec.add_test_dependency('mruby-method', :core => 'mruby-method')
|
|
spec.add_test_dependency('mruby-proc-ext', :core => 'mruby-proc-ext')
|
|
end
|