Sha256: 0e39df10717bff3e0d7089cfd7ec9ac8a19eea6a8b5733ca7b3ca2293a60bf0a

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

# TODO

- Make replay of class method invocations optional (allow for a basic use case of simply including a module with class methods)
- Replay class level attributes on classes
- Fix issue with class methods including a method matching name with instance methods
- Fix issue with class method alias as per details below

```ruby
require 'glimmer/error'

module Glimmer
  module UI
    module CustomShell
      include SuperModule
      include Glimmer::UI::CustomWidget
      
      class << self
        attr_reader :launched_custom_shell
        alias launched_custom_window launched_custom_shell
```

```
[DEVELOPMENT MODE] (detected /Users/andymaleh/code/glimmer-dsl-swt/lib/glimmer-dsl-swt.rb)
MethodSource::SourceNotFoundError: Could not locate source for launched_custom_window!
                         source_helper at /Users/andymaleh/.rvm/gems/jruby-9.2.14.0@glimmer-dsl-swt/gems/method_source-1.0.0/lib/method_source.rb:24
                                source at /Users/andymaleh/.rvm/gems/jruby-9.2.14.0@glimmer-dsl-swt/gems/method_source-1.0.0/lib/method_source.rb:110
  __build_singleton_method_body_source at /Users/andymaleh/.rvm/gems/jruby-9.2.14.0@glimmer-dsl-swt/gems/super_module-1.4.1/lib/super_module/v1/singleton_method_definition_store.rb:74
               __singleton_method_body at /Users/andymaleh/.rvm/gems/jruby-9.2.14.0@glimmer-dsl-swt/gems/super_module-1.4.1/lib/super_module/v1/singleton_method_definition_store.rb:85
                singleton_method_added at /Users/andymaleh/.rvm/gems/jruby-9.2.14.0@glimmer-dsl-swt/gems/super_module-1.4.1/lib/super_module/v1/singleton_method_definition_store.rb:100
                          alias_method at org/jruby/RubyModule.java:3228
                       singleton class at /Users/andymaleh/code/glimmer-dsl-swt/lib/glimmer/ui/custom_shell.rb:32
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
super_module-1.4.2 TODO.md