Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C chouette-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 36
    • Merge requests 36
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • chouette-core
  • Wiki
  • Coding Conventions

Coding Conventions · Changes

Page history
Updated Coding Conventions (markdown) authored Nov 24, 2017 by Robert Dober's avatar Robert Dober
Hide whitespace changes
Inline Side-by-side
Showing with 18 additions and 2 deletions
+18 -2
  • Coding-Conventions.md Coding-Conventions.md +18 -2
  • No files found.
Coding-Conventions.md
View page @ 68b9ce0e
...@@ -40,7 +40,23 @@ Example: ...@@ -40,7 +40,23 @@ Example:
What you want to do is this: What you want to do is this:
http://rubyfiddle.com/riddles/82e9b/1
```ruby
[17] pry(main)> class A
[17] pry(main)* class << self
[17] pry(main)* attr_accessor :a
[17] pry(main)* end
[17] pry(main)* end
=> nil
[18] pry(main)> class B < A
[18] pry(main)* class << self
[18] pry(main)* attr_accessor :a
[18] pry(main)* end
[18] pry(main)* end
=> nil
[19] pry(main)> class C < A
[19] pry(main)* class << self
[19] pry(main)* attr_accessor :a
[19] pry(main)* end
[19] pry(main)* end
``` ```
\ No newline at end of file
Clone repository

Coding Conventions