We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When defining commands, you do the following:
class MyCommand < Climate::Command name 'mine' end MyCommand.name # 'mine'
Which is done via Command.name(name=nil). This looks lovely and everything, but means you can't get back to Class.name without jiggery-pokery
Command.name(name=nil)
The text was updated successfully, but these errors were encountered:
I've changed it so that you can set the name using a class function, so...
class MyCommand < Command('my_command') end
or with
class MyCommand < Command set_name 'my_command' end
Sorry, something went wrong.
No branches or pull requests
When defining commands, you do the following:
Which is done via
Command.name(name=nil)
. This looks lovely and everything, but means you can't get back to Class.name without jiggery-pokeryThe text was updated successfully, but these errors were encountered: