Module: Wedding
- Defined in:
- lib/wedding.rb,
lib/wedding/cli.rb,
lib/wedding/bride.rb,
lib/wedding/groom.rb,
lib/wedding/version.rb,
lib/wedding/ceremony.rb,
lib/wedding/default_config.rb,
lib/wedding/post_install_message.rb
Defined Under Namespace
Modules: DefaultConfig Classes: Bride, CLI, Ceremony, Groom
Constant Summary collapse
- VERSION =
No major releases scheduled after this one
"0.0.3"
Class Attribute Summary collapse
-
.ceremony ⇒ Object
There is a weddig, there is a ceremony.
-
.default_config ⇒ Object
Getter method for default_config for the wedding.
Class Method Summary collapse
-
.new(config = nil) ⇒ Object
Returns new Ceremony object that can be used to query details about the wedding.
- .post_install_message ⇒ Object
Class Attribute Details
.ceremony ⇒ Object
There is a weddig, there is a ceremony. Time for celebrations.
19 20 21 |
# File 'lib/wedding.rb', line 19 def ceremony @ceremony end |
.default_config ⇒ Object
Getter method for default_config for the wedding.
32 33 34 |
# File 'lib/wedding.rb', line 32 def default_config DefaultConfig. end |
Class Method Details
.new(config = nil) ⇒ Object
Returns new Ceremony object that can be used to query details
about the wedding
26 27 28 29 |
# File 'lib/wedding.rb', line 26 def new(config = nil) config = config ? default_config.merge(config) : default_config.dup Ceremony.new(config) end |
.post_install_message ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/wedding/post_install_message.rb', line 3 def = <<'EOS' ==== Release notes for wedding gem ==== Now that you have installed this gem, you earn our immense respect. You are the star guest of our wedding, you will receive our special attention. Go ahead and type `wedding` (wihtout backticks) on the command prompt to see the list of commands available with it. Print your personal invitation, and fire your browser to see the location of the event. We love you! Prerita and Jai ======================================= EOS end |