Skip to content

Commit

Permalink
Removed misleading description about modules
Browse files Browse the repository at this point in the history
  • Loading branch information
gauthamchandra committed Sep 4, 2015
1 parent daa1f02 commit 4c216b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ruby_oop_design.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ Why is `@a` not available for `Foo.new`? Its because` @a` is an instance variabl
#Module
A module in Ruby is a data structure for holding methods and constants. It can be thought of as a ```public final static``` Java class. Variables in a module don't make much sense as they are subject to change and almost everything in a module is either a constant or an unchanging function.
A module in Ruby is a data structure for holding methods and constants.
Just like classes, they have a ```CamelCase``` naming convention.
Just like with classes, they have a ```CamelCase``` naming convention.
```ruby
module Foo
Expand Down

0 comments on commit 4c216b3

Please sign in to comment.