# Calling super with no arguments

**URL:** <https://www.ruby-forum.com/t/calling-super-with-no-arguments/132522>\
**Category:** Ruby\
**Created:** [March 21, 2008, 12:52am UTC](https://www.ruby-forum.com/t/calling-super-with-no-arguments/132522 "2008-03-21T00:52:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![arachnd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Post date:** [March 21, 2008, 12:59am UTC](https://www.ruby-forum.com/t/calling-super-with-no-arguments/132522/2 "2008-03-21T00:59:41Z")

</div>

On Mar 20, 2008, at 4:50 PM, Daniel F. wrote:

> end  
> end
> 
> class B \< A  
> def initialize var  
> puts “making a #{var} b”  
> super  
> super()

When you call super as a bare word, it passes the args from the  
enclosing method automatically, to force it to pass no args you need  
to use super() .

Cheers-

- Ezra Z.  
– Founder & Software Architect  
– removed\_email\_address@domain.invalid  
– [EngineYard.com](http://EngineYard.com)

---

_[View the full topic](https://www.ruby-forum.com/t/calling-super-with-no-arguments/132522)._
