Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow class declaration with fully-qualified name #6

Open
filp opened this issue Apr 16, 2013 · 3 comments
Open

Allow class declaration with fully-qualified name #6

filp opened this issue Apr 16, 2013 · 3 comments

Comments

@filp
Copy link
Contributor

filp commented Apr 16, 2013

It would be nice to have the ability to declare classes without explicit nesting.

Currently:

class Foo {
  class Bar {
    class UhOh { }
  }
}

This can quickly become a bit cumbersome.

Suggestion:

class Foo::Bar::UhOh {
  def init { 'yay } 
}
@pateketrueke
Copy link

👍

2 similar comments
@lukateras
Copy link

👍

@tarnfeld
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants